package com.zhouyibike.uu.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Zy on 2017/9/4.
 */
public class TwentyBuyResult {

    /**
     * status : 200
     * data : {"payAmount":20,"alipay":"app_id=2017062107534716&biz_content=%7B%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22total_amount%22%3A%2220.00%22%2C%22subject%22%3A%22%E5%85%8520%E8%B5%A0%E5%8D%95%E8%BD%A6%22%2C%22body%22%3A%22%E5%85%8520%E8%B5%A0%E5%8D%95%E8%BD%A6%22%2C%22out_trade_no%22%3A%2221894cfa911b11e7ae1385d45de4a99c%22%7D&charset=utf-8&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F47.93.46.52%3A8765%2FPayment%2FAlipayCallBack&sign=Wul03DigupHNdRQOpNuZEGh2sTyLagml5nmlu7X6yuhIltoWk6TVL%2BQHfVkMgIJfCL3Fl8yVA4pr5H4eoM97vBt87uClONjmnY5FrIJcsW%2FWlx44LhQc%2FeSjv1VWZd6X6bfTeeQX6%2FbeXF1f2mpKRd624BMmWu%2Fj%2BZL42S0ozF0%3D&sign_type=RSA&timestamp=2017-09-04+10%3A45%3A46&version=1.0","weChat":"{\"appId\":\"wx1cd2880e51ed36e9\",\"partnerId\":\"1484346482\",\"prepayId\":\"wx201709041045461a2698f6370924317601\",\"package\":\"Sign=WXPay\",\"noncestr\":\"45a373c7bfa34f5e980b1c4593b04886\",\"timestamp\":\"1504521947\",\"orderId\":\"00000000-0000-0000-0000-000000000000\",\"payType\":0,\"sign\":\"88D8D94343C7C993063349C1DA6CDEA3\"}","weChatPay":{"appId":"wx1cd2880e51ed36e9","partnerId":"1484346482","prepayId":"wx201709041045461a2698f6370924317601","package":"Sign=WXPay","noncestr":"45a373c7bfa34f5e980b1c4593b04886","timestamp":"1504521947","orderId":"00000000-0000-0000-0000-000000000000","payType":0,"sign":"88D8D94343C7C993063349C1DA6CDEA3"}}
     * message : 操作成功!
     * recordCount : null
     * pageCount : null
     */

    private int status;
    private DataBean data;
    private String message;
    private Object recordCount;
    private Object pageCount;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(Object recordCount) {
        this.recordCount = recordCount;
    }

    public Object getPageCount() {
        return pageCount;
    }

    public void setPageCount(Object pageCount) {
        this.pageCount = pageCount;
    }

    public static class DataBean {
        /**
         * payAmount : 20
         * alipay : app_id=2017062107534716&biz_content=%7B%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22total_amount%22%3A%2220.00%22%2C%22subject%22%3A%22%E5%85%8520%E8%B5%A0%E5%8D%95%E8%BD%A6%22%2C%22body%22%3A%22%E5%85%8520%E8%B5%A0%E5%8D%95%E8%BD%A6%22%2C%22out_trade_no%22%3A%2221894cfa911b11e7ae1385d45de4a99c%22%7D&charset=utf-8&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F47.93.46.52%3A8765%2FPayment%2FAlipayCallBack&sign=Wul03DigupHNdRQOpNuZEGh2sTyLagml5nmlu7X6yuhIltoWk6TVL%2BQHfVkMgIJfCL3Fl8yVA4pr5H4eoM97vBt87uClONjmnY5FrIJcsW%2FWlx44LhQc%2FeSjv1VWZd6X6bfTeeQX6%2FbeXF1f2mpKRd624BMmWu%2Fj%2BZL42S0ozF0%3D&sign_type=RSA&timestamp=2017-09-04+10%3A45%3A46&version=1.0
         * weChat : {"appId":"wx1cd2880e51ed36e9","partnerId":"1484346482","prepayId":"wx201709041045461a2698f6370924317601","package":"Sign=WXPay","noncestr":"45a373c7bfa34f5e980b1c4593b04886","timestamp":"1504521947","orderId":"00000000-0000-0000-0000-000000000000","payType":0,"sign":"88D8D94343C7C993063349C1DA6CDEA3"}
         * weChatPay : {"appId":"wx1cd2880e51ed36e9","partnerId":"1484346482","prepayId":"wx201709041045461a2698f6370924317601","package":"Sign=WXPay","noncestr":"45a373c7bfa34f5e980b1c4593b04886","timestamp":"1504521947","orderId":"00000000-0000-0000-0000-000000000000","payType":0,"sign":"88D8D94343C7C993063349C1DA6CDEA3"}
         */

        private double payAmount;
        private String alipay;
        private String weChat;
        private WeChatPayBean weChatPay;

        public double getPayAmount() {
            return payAmount;
        }

        public void setPayAmount(int payAmount) {
            this.payAmount = payAmount;
        }

        public String getAlipay() {
            return alipay;
        }

        public void setAlipay(String alipay) {
            this.alipay = alipay;
        }

        public String getWeChat() {
            return weChat;
        }

        public void setWeChat(String weChat) {
            this.weChat = weChat;
        }

        public WeChatPayBean getWeChatPay() {
            return weChatPay;
        }

        public void setWeChatPay(WeChatPayBean weChatPay) {
            this.weChatPay = weChatPay;
        }

        public static class WeChatPayBean {
            /**
             * appId : wx1cd2880e51ed36e9
             * partnerId : 1484346482
             * prepayId : wx201709041045461a2698f6370924317601
             * package : Sign=WXPay
             * noncestr : 45a373c7bfa34f5e980b1c4593b04886
             * timestamp : 1504521947
             * orderId : 00000000-0000-0000-0000-000000000000
             * payType : 0
             * sign : 88D8D94343C7C993063349C1DA6CDEA3
             */

            private String appId;
            private String partnerId;
            private String prepayId;
            @SerializedName("package")
            private String packageX;
            private String noncestr;
            private String timestamp;
            private String orderId;
            private int payType;
            private String sign;

            public String getAppId() {
                return appId;
            }

            public void setAppId(String appId) {
                this.appId = appId;
            }

            public String getPartnerId() {
                return partnerId;
            }

            public void setPartnerId(String partnerId) {
                this.partnerId = partnerId;
            }

            public String getPrepayId() {
                return prepayId;
            }

            public void setPrepayId(String prepayId) {
                this.prepayId = prepayId;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getNoncestr() {
                return noncestr;
            }

            public void setNoncestr(String noncestr) {
                this.noncestr = noncestr;
            }

            public String getTimestamp() {
                return timestamp;
            }

            public void setTimestamp(String timestamp) {
                this.timestamp = timestamp;
            }

            public String getOrderId() {
                return orderId;
            }

            public void setOrderId(String orderId) {
                this.orderId = orderId;
            }

            public int getPayType() {
                return payType;
            }

            public void setPayType(int payType) {
                this.payType = payType;
            }

            public String getSign() {
                return sign;
            }

            public void setSign(String sign) {
                this.sign = sign;
            }
        }
    }
}
